'''
Created on 2012-6-12

@author: wb_suoyao.shen
'''
from django.shortcuts import render_to_response
from ssyblog.diary.models import Diary
from ssyblog.tags.models import Tags
from ssyblog.links.models import Links

def links(request):
    links_list = Links.objects.all()
    recently_list = Diary.objects.recently_diary()
    recd_tags = Tags.objects.recod_tags_list('on', 4, 3)
    current_nav = 'links'
    return render_to_response('links.html', locals())